package com.yaodian100.ec.order.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;

@Entity
@Table(name = "EC_ORDER_USERDATA")
public class OrderUserData {

	/**
	 * 
	 */
	private static final long serialVersionUID = 228732427813892389L;

	/**
	 * 訂單編號
	 */
	@Id
	@Column(name = "ORDER_ID", length = 13)
	private String orderId;

	// OS,Browser
	@Column(name = "OS_BROWSER", length = 200)
	private String osBrowser;

	// RequestData
	@Lob
	@Column(name = "REQUEST_DATA")
	private String requestData;

	// Cookies
	@Lob
	@Column(name = "USER_COOKIES")
	private String userCookies;

	/** default constructor */
	public OrderUserData() {
		super();
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getOsBrowser() {
		return osBrowser;
	}

	public void setOsBrowser(String osBrowser) {
		this.osBrowser = osBrowser;
	}

	public String getRequestData() {
		return requestData;
	}

	public void setRequestData(String requestData) {
		this.requestData = requestData;
	}

	public String getUserCookies() {
		return userCookies;
	}

	public void setUserCookies(String userCookies) {
		this.userCookies = userCookies;
	}

}
